package OneDayMoreThread;

public class Thread6{
    public static void main(String[] args) {
        int num1=5;
        int num2=8;

        Thread4 thread4 = new Thread4(num1);
        Thread5 thread5 = new Thread5(num2);

        try {
            thread4.start();
            thread5.start();
            thread4.join();
            thread5.join();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
